Is there a way to reformat/reindent code of a plain text file, unsaved or saved? I am working with a proprietary script language not supported or listed here.
Just Ctrl+Shift+P (or Command+Shift+P on MacOS) to open the tools pallet, type reindent, and pick Indentation: Reindent Lines. It should reindent all the file ...
You can use the Tag plugin(install from package control). Then just press ctrl + shift + p , and type tag . You'll see the option Auto-Format tags on document.